import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios';

axios.interceptors.request.use(
  (config) => {
    // 可以在此处添加请求拦截逻辑
    return config;
  },
  (error) => {
    return Promise.reject(error);
  }
);

axios.interceptors.response.use(
  (response) => {
    // 可以在此处添加响应拦截逻辑
    return response;
  },
  (error) => {
    return Promise.reject(error);
  }
);


const app = createApp(App)

app.use(router)

app.mount('#app')
